package com.joolun.activity.domain;

import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 年味分享对象 share_info
 *
 * @author www.joolun.com
 * @date 2023-01-18
 */
public class ShareInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** PK */
    private String id;

    /** 作品编号 */
    @Excel(name = "作品编号")
    @ApiModelProperty(value = "作品编号")
    private String shareCode;

    /** 作品名称 */
    @Excel(name = "分享人名称")
    @ApiModelProperty(value = "分享人名称")
    private String name;

    /** 作品图片 */
    @Excel(name = "作品图片")
    @ApiModelProperty(value = "作品图片")
    private String image;

    /** 分享状态1、待审核 2、通过 3、不通过 */
    @Excel(name = "分享状态1、待审核 2、通过 3、不通过")
    private String status;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    private String delFlag;

    /** 票数 */
    @Excel(name = "票数")
    @ApiModelProperty(value = "票数")
    private Long num;

    /** 分享人 */
    @Excel(name = "分享人")
    private String openId;

    @ApiModelProperty(required = true,value = "分享人手机号")
    private String phone;

    @ApiModelProperty(required = true,value = "简介")
    private String intro;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setShareCode(String shareCode)
    {
        this.shareCode = shareCode;
    }

    public String getShareCode()
    {
        return shareCode;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shareCode", getShareCode())
            .append("name", getName())
            .append("image", getImage())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("num", getNum())
            .append("open_id", getOpenId())
            .append("phone", getPhone())
            .append("intro", getIntro())
            .toString();
    }
}
